package com.zrrd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ZhangYK
 * @version 8.0
 * @title Person
 * @description
 * @create 2024/3/23 20:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Person {
    private Integer id;
    private String name;
    private Integer age;
    private String username;
    private String password;

    //逻辑删除字段，标记当前记录是否被删除
    //@TableLogic
    private Integer deleted;
    @Version
    private Integer version;
}
